$width: 640rpx;
$height: 330rpx;

.head {
    width: 750rpx;
    overflow: hidden;
    position: relative;
    padding-top: 40rpx;

    &::before {
        top: 0;
        left: -150rpx;
        width: 150%;
        height: 350rpx;
        content: "";
        display: block;
        position: absolute;
        background-color: rgba(85, 55, 19, 0.8);
        border-bottom-left-radius: 80%;
        border-bottom-right-radius: 80%;
    }

    &-slider {
        width: 750rpx;
        height: 350rpx;
    }
}

.card {
    width: $width;
    height: $height;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15rpx;

    &-back,
    &-body {
        top: 0;
        width: $width;
        height: $height;
        display: flex;
        padding: 20rpx;
        overflow: hidden;
        position: absolute;
        border-radius: 10rpx;
        flex-direction: column;
    }

    &-back {
        background-color: rgb(202, 225, 250);
    }

    &-status {
        top: 20rpx;
        right: -1rpx;
        color: #fff;
        padding: 0 10rpx;
        position: absolute;
        overflow: hidden;
        font-size: 22rpx;
        background-color: black;
        border-top-left-radius: 20rpx;
        border-bottom-left-radius: 20rpx;
    }

    &-user {
        &-info {
            top: 50rpx;
            width: 100%;
            height: 80rpx;
            position: absolute;
        }

        &-name {
            font-weight: bold;
            color: rgba(0, 0, 0, 0.8);
        }

        &-phone {
            font-size: 25rpx;
            color: rgba(0, 0, 0, 0.6);
        }

        &-level {
            color: bisque;
            position: absolute;
            font-size: 25rpx;
            margin-top: -5rpx;
            margin-left: 10rpx;
            vertical-align: baseline;
        }
    }

    &-level {
        &-name {
            top: 80rpx;
            right: 30rpx;
            color: bisque;
            position: absolute;
            font-size: 35rpx;
            text-align: center;
        }

        &-privilege {
            width: 100%;
            height: 150rpx;
            bottom: 0;
            position: absolute;
            justify-content: flex-start !important;

            &-box {
                padding: 20rpx 30rpx;
                text-align: center;
                flex-direction: column;
            }

            &-title {
                color: rgba(0, 0, 0, 0.5);
                font-size: 23rpx;
            }

            &-value {
                color: rgba(0, 0, 0, 0.8);
                font-size: 28rpx;
                margin-top: 10rpx;
            }
        }
    }
}
